package com.qingxin.sys.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.codehaus.jackson.map.annotate.JsonSerialize;

/**
 * 用户权限视图
 * @author Administrator
 *
 */
@Entity
@Table(name = "sys_user_rights_view")
@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
public class SysUserRightsView extends BaseEntity implements java.io.Serializable {
	private static final long serialVersionUID = -2936741030302941299L;
	
	private String rightid;
	private String userid;
	private String perid;
	private String pid;
	private String per_code;
	private String per_name;
	private String remark;
	private Integer per_index;
	
	
	public SysUserRightsView() {
	}
	

	@Id
	@Column(name = "rightid", nullable = false, length = 32)
	public String getRightid() {
		return rightid;
	}
	public void setRightid(String rightid) {
		this.rightid = rightid;
	}
	
	@Column(name = "userid", length = 32)
	public String getUserid() {
		return userid;
	}
	public void setUserid(String userid) {
		this.userid = userid;
	}
	
	@Column(name = "perid", length = 32)
	public String getPerid() {
		return perid;
	}
	public void setPerid(String perid) {
		this.perid = perid;
	}
	
	@Column(name = "pid", length = 32)
	public String getPid() {
		return pid;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}
	
	@Column(name = "per_code", length = 50)
	public String getPer_code() {
		return per_code;
	}
	public void setPer_code(String per_code) {
		this.per_code = per_code;
	}

	@Column(name = "per_name", length = 50)
	public String getPer_name() {
		return per_name;
	}
	public void setPer_name(String per_name) {
		this.per_name = per_name;
	}
	
	
	@Column(name = "remark", length = 200)
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	@Column(name = "per_index")
	public Integer getPer_index() {
		return per_index;
	}
	public void setPer_index(Integer per_index) {
		this.per_index = per_index;
	}

	
}
